package com.qing.function;

        import java.util.function.IntPredicate;
        import java.util.function.Supplier;

public class SupplierService {


    public static  <T> T getString(Supplier<T>  s){
        return s.get();
    }

    public static void main(String[] args) {
        System.out.println(getString(() -> "A" + "B"));


    }
}
